package com.example.administrator.foodrowfresh.jiao.modle;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by Bob on 2016/5/3.
 */
@Table(name = "user")
public class User{

    @Column(name = "userTell")
    private String  userTell;

    @Column(name = "pass")
    private String pass;
    @Column(name ="id",isId = true)
    private int id;

    public User(String userTell, String pass) {
        this.userTell = userTell;
        this.pass = pass;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPass() {
        return pass;
    }

    public String getUserTell() {
        return userTell;
    }

    public void setUserTell(String useTell) {
        this.userTell = userTell;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + userTell + '\'' +
                ", pass='" + pass + '\'' +
                '}';
    }
}
